import request from '@/utils/request'
const serviceName = 'Task'
//  列表
export function queryRepairers(data) {
  return request({
    url: serviceName + '/Repairer/QueryRepairers',
    method: 'post',
    data
  })
}
//  详情
export function getRepairer(data) {
  return request({
    url: serviceName + '/Repairer/GetRepairer',
    method: 'post',
    data
  })
}
//  新增 修改
export function saveRepairer(data) {
  return request({
    url: serviceName + '/Repairer/SaveRepairer',
    method: 'post',
    data
  })
}
//  删除
export function deleteRepariers(data) {
  return request({
    url: serviceName + '/Repairer/DeleteRepairer',
    method: 'post',
    data
  })
}

export default {
  queryRepairers,
  getRepairer,
  saveRepairer,
  deleteRepariers
}
